package com.zenithsun.common.security.csrf;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * HTML form without CSRF protection 漏洞异常
 * @author Jiang
 *
 */

@SuppressWarnings("serial")
public class CSRFTokenException extends Exception {
	private static Logger log = LoggerFactory.getLogger(CSRFTokenException.class);
	public CSRFTokenException() {
		// TODO  HTML form without CSRF protection 异常处理
		log.error("HTML form without CSRF protection:非法请求：跨站请求被拒绝");
	}
}
